import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { SubPlanEntity } from './entities/sub-plan.entity'
import { SubPlanTaskEntity } from './entities/sub-plan-task.entity'
import { SubPlanController } from './sub-plan.controller'
import { SubPlanService } from './sub-plan.service'

@Module({
  imports: [TypeOrmModule.forFeature([SubPlanEntity, SubPlanTaskEntity])],
  controllers: [SubPlanController],
  providers: [SubPlanService],
  exports: [SubPlanService],
})
export class SubPlanModule {}
